import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import app from './modules/app'
import tag from './modules/tag'
import team from './modules/team'
import order from './modules/order'
import redpack from './modules/redpack'
import sms from './modules/sms'
import performance from './modules/performance'
import address from './modules/address'
import msg from './modules/msg'
import config from './modules/config'
import workbench from './modules/workbench'
import custom from './modules/custom'
import course from './modules/course'
import userProp from './modules/user-prop'
import source from './modules/source'

export default new Vuex.Store({
  modules: {
    app,
    tag,
    team,
    order,
    redpack,
    sms,
    performance,
    address,
    msg,
    config,
    workbench,
    custom,
    course,
    userProp,
    source
  }
})
